﻿using Newtonsoft.Json.Linq;
using System;
using System.Drawing;

namespace Angle.Krill.SystemConfig
{
    [Serializable]
    public class SysConfig
    {
        public MainConfig MainConfig { get; set; } = new MainConfig();
        /// <summary>
        /// 常规设置
        /// </summary>
        public JObject General { get; set; } = new JObject();
        /// <summary>
        /// 壁纸
        /// </summary>
        public WallpaperInfo WallpaperInfo { get; set; }
        public SysDefaultFont SysDefaultFont { get; set; } = new SysDefaultFont();

        public Font MessageFont
        {
            get
            {
                return new Font(SysDefaultFont.Name, SysDefaultFont.Size);
            }
        }
    }
}
